package com.ruoyi.mall.dubbo;

import com.ruoyi.common.core.utils.SpringUtils;
import com.ruoyi.mall.api.RemoteTestService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

@Service
@DubboService
public class RemoteTestServiceImpl implements RemoteTestService {

    @Override
    public String getPort() {
        return SpringUtils.getProperty("server.port");
    }
}
